import parole
from parole.colornames import colors
from parole.display import interpolateRGB
import pygame, random

import sim_creatures, ai
from util import *

description = \
"""
A dank fog envelopes you and quickly fills your nostrils with the stench of the
grave. Your skin begins to tingle as the fog grows thicker and your lungs begin
to burn. You raise your light in a vain attempt to penetrate the mist, and see
that your skin is covered in dozens of small lacerations that are growing
larger.
"""

class MonsterClass(sim_creatures.Monster):
    def __init__(self):
        sim_creatures.Monster.__init__(
            self,
            'soul-flayer mist',    # name
            parole.map.AsciiTile('M', colors['SaddleBrown']), # symbol, color
            16,  # str
            15, # dex
            7,  # con
            17, # per
            17, # spd
            5,  # level
            160, # xp value
            False, # name starts with vowel? i.e., use "an" instead of "a"
            [],  # equipment slots
            'lacerate', # unarmed attack verb
            'disperse',  # death verb
            False,    # leaves corpse?
            500, # unarmed attack energy
            description,
            #brain=ai.MistBrain(self, ai.defaultStateMap),
            lightTolerance=-1,
            bloodClass=None, # no blood
            feelsPain=False,
            corporeal=False,
            getsTired=False,
            brain=ai.DefaultMonsterBrain(self, fleeStamina=None)
        )

#========================================
thingClass = MonsterClass




